/*
 * NetworkCommandProducer.cpp
 *
 *  Created on: 2009-08-16
 *      Author: paul
 */

#include "NetworkCommandProducer.h"

#include <iostream>

NetworkCommandProducer::NetworkCommandProducer()
{
}

NetworkCommandProducer::~NetworkCommandProducer()
{
}

void NetworkCommandProducer::update(Command &command)
{
    command.execute(*this);
}

void NetworkCommandProducer::shiftLeft()
{
	std::cout << "shiftLeft" << std::endl;
}

void NetworkCommandProducer::shiftRight()
{
	std::cout << "shiftRight" << std::endl;
}

void NetworkCommandProducer::softDown()
{
	std::cout << "softDown" << std::endl;
}

void NetworkCommandProducer::hardDown()
{
	std::cout << "hardDown" << std::endl;
}

void NetworkCommandProducer::gravityDown()
{
	std::cout << "gravityDown" << std::endl;
}

void NetworkCommandProducer::shiftUp()
{
	std::cout << "shiftUp" << std::endl;
}

void NetworkCommandProducer::rotateCCW()
{
	std::cout << "rotateCCW" << std::endl;
}

void NetworkCommandProducer::rotateCW()
{
	std::cout << "rotateCw" << std::endl;
}

void NetworkCommandProducer::setMino()
{
	std::cout << "setMino" << std::endl;
}

void NetworkCommandProducer::newMino(int minoNum)
{
	std::cout << "newMino: " << minoNum << std::endl;
}

void NetworkCommandProducer::clearRows(const int rows[], int numRows)
{
	std::cout << "clearRows" << std::endl;
}

void NetworkCommandProducer::initGame(int width, int totalHeight,
		int hiddenHeight, int startRow, int startCol, int startSpeed)
{
	std::cout << "initGame" << std::endl;
}
